<?php
class ui_extension_home_tips extends ui {
	public function __construct($S, $param) {
		parent::__construct();
		if ($this->uid) {
			$data_user = new data_user();
			$user = $data_user->one($this->uid);
			$S->assign('user_nickname', 	$user['nickname']);
			
			$data_circle = new data_circle();
			$circle = $data_circle->ls($this->uid, 'member', 'private');
			$S->assign('circle_title', 		$circle[sizeof($circle)-1]['title']);
		}
	}
}
?>